package zuoye0515;

/**
 * USB相机
 * 
 * @author Y
 *
 */
public class USBCamera implements USB {
	private String name;
	private double pixel;

	public USBCamera(String name, double pixel) {
		this.name = name;
		this.pixel = pixel;
	}

	public void start() {
		System.out.println(name + "的照相机,像素为" + pixel + "万,插在了usb接口上");
	}

	public void work() {
		System.out.println("正在往电脑上传输照片信息...");
	}

	public void stop() {
		System.out.println("拔出照相机,照相机停止运行...");
	}
}
